<?php /* Smarty version Smarty-3.1.6, created on 2016-04-18 17:13:03
         compiled from "D:\www\zhaojinyin_uc/Application/Admin/View\User\index.html" */ ?>
<?php /*%%SmartyHeaderCode:230295714a51fe57bc2-57541673%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e0119ae005b9e25be26e95da8c11018833ba9be6' => 
    array (
      0 => 'D:\\www\\zhaojinyin_uc/Application/Admin/View\\User\\index.html',
      1 => 1458965547,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '230295714a51fe57bc2-57541673',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'data' => 0,
    'cat_list' => 0,
    'i' => 0,
    'pager' => 0,
    'user_list' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5714a52003aa1',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5714a52003aa1')) {function content_5714a52003aa1($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'D:\\www\\zhaojinyin_uc\\ThinkPHP\\Library\\Vendor\\Smarty\\plugins\\modifier.date_format.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type">
    <meta charset="utf-8">
    <title><?php echo $_smarty_tpl->tpl_vars['data']->value['title'];?>
 - 后台管理</title>
    <link href="<?php echo @APP_URL;?>
templates/admin/css/admin.css" type="text/css" rel="stylesheet">
    <link href="<?php echo @APP_URL;?>
templates/admin/js/artDialog/black.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="<?php echo @APP_URL;?>
templates/admin/js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="<?php echo @APP_URL;?>
templates/admin/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="<?php echo @APP_URL;?>
templates/admin/js/artDialog/jquery.artDialog.min.js"></script>
    <script type="text/javascript" src="<?php echo @APP_URL;?>
templates/admin/js/admin.js"></script>
    <script type="text/javascript">
        var this_uri = "/user/index";
    </script>
</head>
<body>

<div id="header">
    <div class="logo"><a href="/"><img src="<?php echo @APP_URL;?>
templates/admin/images/logo.png" title="后台首页"></a></div>
    <div class="loading"><div id="ajax-loader" title="Ajax数据更新中..."></div></div>
    <div id="topbar">
        <!--顶部菜单 start-->
        <?php echo $_smarty_tpl->getSubTemplate ((@APP_PATH)."Admin/View/public/topmenu.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

        <!--顶部菜单 end-->
        <!--顶部右侧 start-->
        <?php echo $_smarty_tpl->getSubTemplate ((@APP_PATH)."Admin/View/public/topuser.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

        <!--顶部右侧 end-->
        <div></div>
    </div>
</div>

<div><!-- 外层添加一个DIV解决IE8下margin-top的问题 -->
    <table id="maintable" cellpadding="0" cellspacing="0">
        <tbody><tr>
            <!--左侧菜单 start-->
            <?php echo $_smarty_tpl->getSubTemplate ((@APP_PATH)."Admin/View/public/leftmenu.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

            <!--左侧菜单 end-->
            <!--主要TD start-->
            <td class="maintd" valign="top">
                <div class="maindiv">
                    <div id="main">
                        <div class="itemtitle">
                            <h3>用户管理</h3>
                            <ul>
                                <a class="link-btn link-live" href="/user/index">用户列表</a>
                                <!--<a class="link-btn" href="/user/user_add">添加用户</a>-->
                            </ul>
                        </div>
                        <!--搜索部分-->
                        <!--<script src="<?php echo @APP_URL;?>
templates/admin/js/DatePicker/WdatePicker.js" type="text/javascript"></script>-->
                        <form name="searchform" action="/user/index" method="post">
                            <table class="tb">
                                <tbody>
                                <tr>
                                    <td class="tbheader" colspan="38">搜索用户</td>
                                </tr>

                                <tr>
                                    <td class="td" valign="middle" colspan="38">
                                        <center>
                                        <label>搜索:</label>
                                        <input type="text" value="" size="30" name="keyword">
                                        <!--<label>发布时间:</label>
                                        <select name="type">
                                            <option value="gr">大于(>)</option>
                                            <option value="eq">等于(=)</option>
                                            <option value="le">小于(<)</option>
                                        </select>
                                        <input type="text" size="12" value="" onclick="WdatePicker()" name="t" realvalue="">-->
                                        <!--<label>分类:</label>
                                        <select name="pc_id">
                                            <option value="0">所有分类</option>
                                            <?php  $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['i']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['cat_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['i']->key => $_smarty_tpl->tpl_vars['i']->value){
$_smarty_tpl->tpl_vars['i']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['i']->key;
?>
                                            <option value="<?php echo $_smarty_tpl->tpl_vars['i']->value['pc_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value['pc_name'];?>
</option>
                                            <?php } ?>
                                        </select>-->
                                        <input class="cancel" type="submit" value="搜索" name="search">
                                        </center>
                                    </td>
                                </tr>
                            </tbody>
                            </table>
                        </form>
                        <!--列表部分-->
                        <form name="form1" action="/user/update_user" method="post">
                            <table class="tb">
                                <tbody>
                                <tr>
                                    <td class="tbheader" colspan="38">搜索到的用户列表(<?php echo $_smarty_tpl->tpl_vars['pager']->value['user_total'];?>
个)</td>
                                </tr>
                                <tr class="tr0">
                                    <!--<td class="td">排序</td>-->
                                    <td class="td">头像</td>
                                    <td class="td">注册邮箱</td>
                                    <td class="td">手机号码</td>
                                    <td class="td">公司名</td>
                                    <td class="td">职位</td>
                                    <td class="td">真实姓名</td>
                                    <td class="td">注册时间</td>
                                    <td class="td"><font color="orange">是否拜访</font></td>
                                    <td class="td"><font color="orange">是否外呼</font></td>

                                    <!--<td class="td">业务邮箱</td>-->
                                    <td class="td"><font color="red" >是否完整</font></td>
                                    <!--<td class="td">是否启用</td>-->
                                    <td class="td">编辑</td>
                                    <!--<td class="td last">-->
                                        <!--<input id="checkAll" type="checkbox" for="ids[]">-->
                                        <!--<label for="checkAll">删除</label>-->
                                    <!--</td>-->
                                </tr>
                                <?php  $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['i']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['user_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['i']->key => $_smarty_tpl->tpl_vars['i']->value){
$_smarty_tpl->tpl_vars['i']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['i']->key;
?>
                                <tr>
                                    <!--
                                    <td class="td">
                                        <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['i']->value['member_id'];?>
" name="member_ids[]">
                                        <!--<input type="text" size="4" value="<?php echo $_smarty_tpl->tpl_vars['i']->value['member_sort'];?>
" name="sorts[]">--
                                    </td>-->
                                    <td class="td"><a href="#"><img src="<?php if (!$_smarty_tpl->tpl_vars['i']->value['member_avatar']){?><?php echo @WWW_URL;?>
/templates/default/images/user_center/touxiang_03.png<?php }else{ ?><?php echo @WWW_URL;?>
<?php echo $_smarty_tpl->tpl_vars['i']->value['member_avatar'];?>
<?php }?>" width="100px;" height="100px;"></a></td>
                                    <td class="td">
                                        <a title="<?php echo $_smarty_tpl->tpl_vars['i']->value['member_name'];?>
" href="/user/user_view/<?php echo $_smarty_tpl->tpl_vars['i']->value['member_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value['member_email'];?>
</a>
                                    </td>
                                    <td class="td"><a href="/user/user_view/<?php echo $_smarty_tpl->tpl_vars['i']->value['member_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value['member_mobile'];?>
</a></td>
                                    <td class="td"><a href="/user/user_view/<?php echo $_smarty_tpl->tpl_vars['i']->value['member_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value['company_name'];?>
</a></td>
                                    <td class="td"><a href="/user/user_view/<?php echo $_smarty_tpl->tpl_vars['i']->value['member_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value['company_position'];?>
</a></td>
                                    <td class="td"><a href="/user/user_view/<?php echo $_smarty_tpl->tpl_vars['i']->value['member_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value['member_truename'];?>
</a></td>
                                    <td class="td"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['i']->value['member_reg_time'],'%y-%m-%d %H:%M');?>
</td>
                                    <td class="td">
                                        <?php if ($_smarty_tpl->tpl_vars['i']->value['is_visit']==1){?><font color="green">是</font><?php }else{ ?><font color="red">否</font><?php }?>
                                    </td>
                                    <td class="td">
                                        <?php if ($_smarty_tpl->tpl_vars['i']->value['is_call']==1){?><font color="green">是</font><?php }else{ ?><font color="red">否</font><?php }?>
                                    </td>
                                    <!--<td class="td"><a href="/user/user_view/<?php echo $_smarty_tpl->tpl_vars['i']->value['member_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value['member_email2'];?>
</a></td>-->
                                    <td class="td">
                                        <?php if ($_smarty_tpl->tpl_vars['i']->value['is_complete']==1){?><font color="green">是</font><?php }else{ ?><font color="red">否</font><?php }?>
                                    </td>
                                    <!--<td class="td">
                                        <?php if ($_smarty_tpl->tpl_vars['i']->value['member_state']==1){?><font color="green">是</font><?php }else{ ?><font color="red">否</font><?php }?>
                                    </td>-->
                                    <td class="td">
                                        <a href="/user/user_edit/<?php echo $_smarty_tpl->tpl_vars['i']->value['member_id'];?>
">
                                            <img src="<?php echo @APP_URL;?>
templates/admin/images/edit.png">
                                        </a>
                                    </td>
                                    <!--<td class="td last">-->
                                        <!--<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['i']->value['member_id'];?>
" name="ids[]">-->
                                    <!--</td>-->
                                </tr>
                                <?php } ?>
                                <tr>
                                    <td class="td" valign="middle" colspan="38">
                                        <div class="PageListDiv">
                                            <ol class="PageList">
                                                <?php if ($_smarty_tpl->tpl_vars['pager']->value['current_page']==1){?>
                                                <li>
                                                    <span class="NoPagePrev"><<</span>
                                                </li>
                                                <?php }?>
                                                <?php if ($_smarty_tpl->tpl_vars['pager']->value['current_page']>$_smarty_tpl->tpl_vars['pager']->value['last_page']){?>
                                                <li>
                                                    <a class="PagePrev" onfocus="this.blur()" href="/user/index/<?php echo $_smarty_tpl->tpl_vars['pager']->value['last_page'];?>
"> << </a>
                                                </li>
                                                <?php }?>
                                                <?php if ($_smarty_tpl->tpl_vars['pager']->value['current_page']<=10&&$_smarty_tpl->tpl_vars['pager']->value['page_total']<=10){?>
                                                <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['loop'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['name'] = 'loop';
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['pager']->value['page_total']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total']);
?>
                                                <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']+1==$_smarty_tpl->tpl_vars['pager']->value['current_page']){?>
                                                <li>
                                                    <span class="CurrentPage"><?php echo $_smarty_tpl->tpl_vars['pager']->value['current_page'];?>
</span>
                                                </li>
                                                <?php }else{ ?>
                                                <li>
                                                    <a onfocus="this.blur()" href="/user/index/<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']+1;?>
"><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']+1;?>
</a>
                                                </li>
                                                <?php }?>
                                                <?php endfor; endif; ?>
                                                <?php }elseif($_smarty_tpl->tpl_vars['pager']->value['current_page']>10&&$_smarty_tpl->tpl_vars['pager']->value['current_page']+10<$_smarty_tpl->tpl_vars['pager']->value['page_total']){?>
                                                <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['loop'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['name'] = 'loop';
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['pager']->value['current_page']+10) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] = (int)sprintf("%d",($_smarty_tpl->tpl_vars['pager']->value['current_page']/10))*10;
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] = 1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start']);
else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop']-1);
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['max']);
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total']);
?>
                                                <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']+1==$_smarty_tpl->tpl_vars['pager']->value['current_page']){?>
                                                <li>
                                                    <span class="CurrentPage"><?php echo $_smarty_tpl->tpl_vars['pager']->value['current_page'];?>
</span>
                                                </li>
                                                <?php }else{ ?>
                                                <li>
                                                    <a onfocus="this.blur()" href="/user/index/<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']+1;?>
"><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']+1;?>
</a>
                                                </li>
                                                <?php }?>
                                                <?php endfor; endif; ?>
                                                <?php }elseif($_smarty_tpl->tpl_vars['pager']->value['current_page']>10&&$_smarty_tpl->tpl_vars['pager']->value['current_page']+10>$_smarty_tpl->tpl_vars['pager']->value['page_total']){?>
                                                <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['loop'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['name'] = 'loop';
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['pager']->value['page_total']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] = (int)sprintf("%d",($_smarty_tpl->tpl_vars['pager']->value['current_page']/10))*10;
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] = 1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start']);
else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop']-1);
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['max']);
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total']);
?>
                                                <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']+1==$_smarty_tpl->tpl_vars['pager']->value['current_page']){?>
                                                <li>
                                                    <span class="CurrentPage"><?php echo $_smarty_tpl->tpl_vars['pager']->value['current_page'];?>
</span>
                                                </li>
                                                <?php }else{ ?>
                                                <li>
                                                    <a onfocus="this.blur()" href="/user/index/<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']+1;?>
"><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']+1;?>
</a>
                                                </li>
                                                <?php }?>
                                                <?php endfor; endif; ?>
                                                <?php }else{ ?>
                                                <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['loop'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['name'] = 'loop';
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'] = is_array($_loop=10) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total']);
?>
                                                <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']+1==$_smarty_tpl->tpl_vars['pager']->value['current_page']){?>
                                                <li>
                                                    <span class="CurrentPage"><?php echo $_smarty_tpl->tpl_vars['pager']->value['current_page'];?>
</span>
                                                </li>
                                                <?php }else{ ?>
                                                <li>
                                                    <a onfocus="this.blur()" href="/user/index/<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']+1;?>
"><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']+1;?>
</a>
                                                </li>
                                                <?php }?>
                                                <?php endfor; endif; ?>
                                                <?php }?>
                                                <?php if ($_smarty_tpl->tpl_vars['pager']->value['current_page']<$_smarty_tpl->tpl_vars['pager']->value['next_page']){?>
                                                <li>
                                                    <a class="PageNext" onfocus="this.blur()" href="/user/index/<?php echo $_smarty_tpl->tpl_vars['pager']->value['next_page'];?>
"> >> </a>
                                                </li>
                                                <?php }?>
                                                <?php if ($_smarty_tpl->tpl_vars['pager']->value['current_page']==$_smarty_tpl->tpl_vars['pager']->value['page_total']){?>
                                                <li>
                                                    <span class="NoPageNext"> >> </span>
                                                </li>
                                                <?php }?>
                                            </ol>
                                        </div>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <div class="submit">
                                <!--<input class="save" type="submit" value="保存更新" name="update">-->
                                <!--<input class="cancel" type="submit" value="删除用户" onclick="var _me=$(this);$.dialog({title:'操作确认',lock:true,content:'确定删除所选用户吗?<br><br><span class=red>注: 所选用户将被永久删除!</span>',okValue:' 确定 ',ok:function(){_me.closest('form').submit();},cancelValue:'取消',cancel:true});return false;" name="del">-->
                            </div>
                        </form>
                        <!--底部信息 start-->
                        <?php echo $_smarty_tpl->getSubTemplate ((@APP_PATH)."Admin/View/public/sysinfo.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

                        <!--底部信息 end-->
                    </div>
                </div>
            </td>
            <!--主要TD end-->
        </tr>
        </tbody></table>
</div>

<script type="text/javascript">
    jQuery(document).ready(function() {
        //调整高度
        $("#container").height($(window).height()-40);
        $(window).resize(function() {
            $("#container").height($(window).height()-40);
        });

        App.init();//左侧菜单初始化

        var a101 = $("#topbar"); //顶部下接菜单
        a101.find("dl").Jdropdown({delay: 0}, function(a){});

        //全选checkbox
        $("#checkAll").click(function(e){
            $("input[name='" + $(this).attr("for") + "']").attr("checked", this.checked);
        });
    });
</script>
</body>
</html><?php }} ?>